<template>
  <ul class="list-group">
    <li class="list-group-item">新闻id: {{ route.params.newsId }}</li>
    <li class="list-group-item">新闻内容: {{ route.query.content }}</li>
  </ul>
</template>

<script setup lang="ts">
import { useRoute } from 'vue-router';
const route = useRoute()
</script>

<style scoped></style>
